<template>
    <div id="app">
        <router-view class="mainBox"></router-view>
        <nav class="nav-list">
            <router-link to="/">首页</router-link>
            <router-link to="/bags">选包</router-link>
            <router-link to="/find">发现</router-link>
            <router-link to="/mine">我的</router-link>
        </nav>
    </div>
</template>

<script>
export default {
    name: 'App'
}
</script>

<style lang="scss">
#app {
    height: 100%;
    background: #fff;
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    .mainBox {
        width: 100%;
        height: calc(100% - 50px);
        overflow-y: auto;
    }
    .nav-list {
        width: 100%;
        height: 50px;
        background: #fff;
        a {
            width: 25%;
            height: 100%;
            border: 1px solid #ccc;
        }
    }
}
</style>
